package com.dgut.service;

import com.dgut.pojo.ServiceProvider;
import com.dgut.pojo.receive.CheckReceive;
import com.dgut.pojo.receive.ServiceProvideReceive;
import com.dgut.utils.PageRequestInfo;

public interface ServiceProviderService {
    /**
     * start-hwf
     */
    boolean updateServiceProvide(ServiceProvider serviceProvider);
    ServiceProvider selectServiceProviderById(int id);
    boolean register(ServiceProvideReceive serviceProvideReceive);

    /**
     * end-hwf
     */


    /**
     * start-lzh
     */
    //服务商查看账户基本信息
    public Object CheckPersonalInformation(Integer id);

    //服务商修改账户的基本信息
    public Object UpdatePersonalInformation(ServiceProvider serviceProvider);
    /**
     * end-lzh
     */

    /**
     * start-gxd
     */

    Object getUnderRiviewServiceProviderByPage(PageRequestInfo pageRequestInfo);
    Object getServiceProviderByPage(PageRequestInfo pageRequestInfo);
    Object getForbidServiceProviderByPage(PageRequestInfo pageRequestInfo);
    Object getNormalServiceProviderByPage(PageRequestInfo pageRequestInfo);
    Object selectServiceProviderListByName(String name);
    Object blockServiceProvider(int id);
    Object unBlockServiceProvider(int id);
    Object deleteServiceProviderById(int id);
    Object checkServiceProvider(CheckReceive checkReceive);
    Object unCheckServiceProvider(int id);
    Object setQualityOrganization(int id);
    Object unSetQualityOrganization(int id);

    /**
     * end-gxd
     */
    /**
     * start-hqq
     */
    Object getQualityServiceProvider(PageRequestInfo pageRequestInfo);
    Object getQualityServiceProviderByLocation(PageRequestInfo pageRequestInfo,String location);
    /**
     * end-hqq
     */
}
